<?php

namespace App\Enums;

use App\Traits\EnumTrait;

/**
 * @method static self SHOW
 * @method static self HIDDEN
 */
class GoodsTypeStatusEnum extends \PhpEnum\PhpEnum
{
    use EnumTrait;

    const SHOW = [100, "展示"];
    const HIDDEN = [200, "隐藏"];

    protected function construct($key, $name)
    {
        $this->key = $key;
        $this->name = $name;
    }
}
